package com.sz.admin.dtuinfo.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * DtuInfo修改DTO
 * </p>
 *
 * @author sz-admin
 * @since 2025-08-29
 */
@Data
@Schema(description = "DtuInfo修改DTO")
public class DtuInfoUpdateDTO {

    @Schema(description =  "id")
    private String id;

    @Schema(description =  "DTU设备编号")
    private String dtuNumber;

    @Schema(description =  "设备名称")
    private String name;

    @Schema(description =  "排序")
    private Integer sort;

    @Schema(description =  "ICCID")
    private String iccid;

    @Schema(description =  "LEDID")
    private String ledid;

    @Schema(description =  "绑定密码")
    private String bindToken;

    @Schema(description =  "设备状态 （字典表dtu_status）")
    private String dtuStatus;

    @Schema(description =  "绑定时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime bindTime;

    @Schema(description =  "过期时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expireTime;

    @Schema(description =  "车辆id")
    private Long vehicleId;

    @Schema(description =  "端口")
    private Integer port;

}